package com.cy.law.db.dao;

import com.cy.law.db.entity.NavItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface NavItemDao extends JpaRepository<NavItem, Integer> {
    List<NavItem> findAllBySeniorIdAndGroupId(int senior, int groupId);
}
